Skip to content

feat(news): read sentiment_score with v1 fallback#112

Merged
Allan-Feng merged 3 commits into
mainfrom
feat/sentiment-score-fallback
Jul 14, 2026
Merged

feat(news): read sentiment_score with v1 fallback#112
Allan-Feng merged 3 commits into
mainfrom
feat/sentiment-score-fallback

Conversation

@FlyM1ss

@FlyM1ss FlyM1ss commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Consumer-first half of FinSearch's score-field disambiguation (editorial_score / sentiment_score, schema v2).

  • Adapter prefers sentiment_score, falls back to score (v1) — fails loud if neither, matching every other required field in _project_entry.
  • Signals fixture pin relaxed to {1, 2}; items pin stays == 1.
  • ATL-internal names (NewsSentimentEntry.score, panel JS) unchanged — only the wire key read changes.
  • Contract doc: sentiment_score documented canonical + transitional note.

PR-2 (after FinSearch's v2 deploy) deletes the fallback and pins schema_version == 2.

Merge gate: this must merge + deploy before the FinSearch v2 PR merges.

Suite: 973 passed, 4 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_012Hfd5GY7STjojT7kSrZSqF

FlyM1ss and others added 3 commits July 15, 2026 00:01
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Hfd5GY7STjojT7kSrZSqF
Match the fail-loud convention of every other required field in
_project_entry; score=None would otherwise flow silently into the panel.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Hfd5GY7STjojT7kSrZSqF
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentic-trading-lab Ready Ready Preview, Comment Jul 14, 2026 4:22pm

@Allan-Feng Allan-Feng merged commit fdc9cef into main Jul 14, 2026
5 checks passed
@FlyM1ss FlyM1ss deleted the feat/sentiment-score-fallback branch July 15, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants